package com.hd123.rumba.gwt.widget2.client.grid;

import java.util.ArrayList;
import java.util.Iterator;

/**
 * RPagingGridListener集合
 * 
 * @author LiQi
 * 
 */
public class RPagingGridListenerCollection extends ArrayList {

  private static final long serialVersionUID = 1L;

  /**
   * 触发所有监听器的pageLoad事件
   * 
   * @param
   */
  public void firePageLoad(RPagingGrid sender) {
    for (Iterator it = iterator(); it.hasNext();) {
      RPagingGridListener listener = (RPagingGridListener) it.next();
      listener.onPageLoad(sender);
    }
  }
}
